<?php
class Customer extends Eloquent {
	protected $table = 'customer';

	protected $primaryKey = 'user_id';

	/**
	 * 软删除
	 * @var boolean
	 */
	protected $softDelete = true;

	public function user()
	{
		return $this->belongsTo('User');
	}
}